//
//  ServiceError.h
//  gongwei-ios
//
//  Created by gongwei-mac on 2020/1/21.
//  Copyright © 2020 gongwei-mac. All rights reserved.
//
#import <Foundation/Foundation.h>

@interface ServiceError : NSObject

@property(nonatomic) int errorCode;
@property(nonatomic) NSString *errorTitle;
@property(nonatomic) NSString *errorMessage;
@property(nonatomic) NSString *errorDetails;

-(int) getErrorCode;
-(NSString *) getErrorTitle;
-(NSString *) getErrorMessage;
-(NSString *) getErrorDetails;
-(void) setErrorCode:(int) errorCode;
-(void) setErrorTitle:(NSString*) errorTitle;
-(void) setErrorMessage:(NSString*) errorMessage;
-(void) setErrorDetails:(NSString*) errorDetails;
@end
